/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DTO;

/**
 *
 * @author Endlesslove
 */
public interface Idata 
{
    /**
     *
     * @return
     * Xoa doi tuong truc tiep tren CSDL
     * Thanh cong neu tra ve true
     * Nguoc lai tra ve false
     */
    public boolean Delete();
    /**
     *
     * @return 
     * Chen them du lieu vao CSDL
     * rta ve true neu thanh cong, Nguoc lai thi tra ve false
     */
    public boolean Insert();
    
    /**
     *
     * @return Cap nhat lai du lieu trong CSDL
     */
    public boolean Update();
    
    /**
     *
     * @return Tra ve danh sach cac doi tuong la thuoc tih cua lop nay
     */
    public Object[] getObjects();
    
    
    /**
     *
     * @return Tra ve ma cua doi tuong neu co
     */
    public String getID();
}
